package cn.com.enersun.iec61850.web.domain;

/**
 * Created by YYC on 2017/5/8.
 */
public class DeviceList {
    private String id;
    private String devName;
    private String devIp;
    private int devPort;
    private boolean online;

    public DeviceList(String devName, String devIp, int devPort, boolean online) {
        this.id = id;
        this.devName = devName;
        this.devIp = devIp;
        this.devPort = devPort;
        this.online = online;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public String getDevIp() {
        return devIp;
    }

    public void setDevIp(String devIp) {
        this.devIp = devIp;
    }

    public int getDevPort() {
        return devPort;
    }

    public void setDevPort(int devPort) {
        this.devPort = devPort;
    }

    public boolean isOnline() {
        return online;
    }

    public void setOnline(boolean online) {
        this.online = online;
    }

    @Override
    public String toString() {
        return "DeviceList{" +
                "id='" + id + '\'' +
                ", devName='" + devName + '\'' +
                ", devIp='" + devIp + '\'' +
                ", devPort=" + devPort +
                ", online=" + online +
                '}';
    }
}
